quadratic equations using factrorization